package com.zf.yichat.api.dto.request;

import com.zf.yichat.utils.YiChatMsgCode;
import org.hibernate.validator.internal.util.Contracts;

/**
 *
 */
public class UserInviteRequest extends FsRequest {

    private String recommendCode;

    public String getRecommendCode() {
        return recommendCode;
    }

    public void setRecommendCode(String recommendCode) {
        this.recommendCode = recommendCode;
    }

    @Override
    public void valid() {

        Contracts.assertNotNull(recommendCode, YiChatMsgCode.SYSTEM_PARAM_ERROR.msg());


    }
}
